{template header}
<link type="text/css" rel="stylesheet" href="{$TS_APP[tpl][skin]}{$skin}/editor.css" />

<div class="midder">

<h1>
[{$strGroup[groupname]}]发布帖子
</h1>

<div class="qi_c_c">

<!--{if $isGroupUser == '0'}-->

<div style="font-size:14px;padding-top:50px;text-align:center;">不好意思，你不是本组成员不能发表帖子，请加入后再发帖^_^</div>

<!--{else}-->
<form method="POST" action="index.php?app=group&ac=do&ts=new_topic" onSubmit="return submitonce(this)">
<table width="800">
<tbody><tr><td width="50">标题: </td>
    <td><input style="padding:3px 0;width:400px;" type="text" value="" maxlength="100" size="50" name="title" gtbfieldid="2"></td></tr>
	
<tr><td height="30">类型：</td><td>
<select name="typeid">
<option value="0">选择类型</option>
<!--{loop $arrGroupType $key $item}-->
<option value="{$item[typeid]}">{$item[typename]}</option>
<!--{/loop}-->
</select></td></tr>

<tr><td></td><td>
<!--ThinkSAAS迷你编辑器-->
{php include TmooTemplate("editor/editor_mini");}
 </td>
</tr>

    <tr>
	<td valign="top">
	内容：
    </td><td><textarea style="width:99.5%;" id="editor_content" cols="55" rows="20" name="content"></textarea></td></tr>
	
	<tr><td height="50">评论：</td><td><input type="radio" checked="select" name="iscomment" value="0" />允许 <input type="radio" name="iscomment" value="1" />不允许</td></tr>
	
	<tr><td height="50">标签：</td><td><input style="padding:3px 0;width:300px;" name="tag" /> (多个请用 | 号分开)</td></tr>
	
    <tr><td></td><td>
	
	<input type="hidden" name="groupid" value="{$strGroup[groupid]}" />
	
    <input type="submit" value="好了，发布"> 
	<a href="{$TS_URL[group]}{$strGroup[groupid]}{$TS_URL[suffix]}">返回小组</a>
	</td></tr></tbody></table>
</form>
{/if}


</div>
</div>

{template footer}